package com.wtwd.device.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtwd.device.model.entity.AppUser;
import com.wtwd.device.model.entity.HfitAppUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zdl
 * @since 2021-08-04
 */
@Mapper
public interface AppUserMapper extends BaseMapper<AppUser> {

    Map<String, Object> getUserInfoByUserId(Long friendId);

    Map<String, Object> getUserInfoByHfitUserId(Long friendId);

    AppUser getUserByUserId(Long userId);

    HfitAppUser getHfitUserByUserId(Long userId);
}
